/* 
 * File:   Date.cpp
 * Author: Macaire
 * 
 * Created on October 1, 2012, 1:53 PM
 */

#include "Date.h"

Date::Date() {
}

Date::~Date() {
}

void Date::setMinute(){
    cout<<"What minute? "<<endl;
    cin>>minute;
}

int Date::getMinute(){
    return minute;
}

int Date::getHour(){
    return hour;
}

void Date::setHour(){
    cout<<"What hour?(Use military notation)"<<endl;
    cin>>hour;
}

int Date::getDay(){
    return day;
}

void Date::setDay(){
    cout<<"What day of the month?"<<endl;
    cin>>day;
}

void Date::setMonth(){
    cout<<"What month, use an integer"<<endl;
    cin>>month;
}

int Date::getMonth(){
    return month;
}

void Date::setYear(){
    cout<<"What year?"<<endl;
    cin>>year;
}

int Date::getYear(){
    return year;
}

void Date::set(){
    setMinute();
    setHour();
    setDay();
    setMonth();
    setYear();
}